
export class Res{
  // @ts-ignore
  public id:string;
  // @ts-ignore
  public name:string;
  public permission?:string;
  // @ts-ignore
  public sort:number;
  public parentId?:string;
  public attributes?:object;
  public icon?:string;
  public route?:string;
  // @ts-ignore
  public type:number;    //0 导航 1菜单 2页面 3按钮 4接口
  // @ts-ignore
  public appname:string;
  // @ts-ignore
  public disabled:number;
  public lmUserid?:string;
  public lmNickname?:string;
  public lmTime?:string;

  public children?:Res[] = undefined;
}

export class AuthorizedResources{
  public navs?:Res[];
  public permissions?:any[];
}
